package springcloudJ.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import springcloudJ.dao.SpringCloudDao;
import springcloudJ.pojo.User;

@Service
public class SpringCloudService {
	@Autowired
	private SpringCloudDao springCloudDao;
	public List<User> queryUsers(){
		List<User> queryUsers = springCloudDao.queryUser();
		return queryUsers;
	}

}
